package com.example.com.hupu.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.FrameLayout;

import com.example.com.hupu.R;
import com.example.com.hupu.fragment.VideoFragment;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * 显示视频播放页
 */
public class VideoActivity extends AppCompatActivity {

    @BindView(R.id.fl_container)
    FrameLayout flContainer;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_video);
        ButterKnife.bind(this);

        getSupportFragmentManager().beginTransaction().
                replace(R.id.fl_container,new VideoFragment()).commit();
    }

}